//
//  DBModel.m
//  XhlTrip
//
//  Created by dllo on 15/8/29.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import "DBModel.h"

@implementation DBModel
- (instancetype)init
{
    self = [super init];
    if (self) {
        
    }
    return self;
}


- (void)dealloc
{
    [_number release];
    [_name release];
    [_photos_count release];
    [_start_date release];
    [_days release];
    [_front_cover_photo_url release];
    [super dealloc];
}

+ (instancetype)dbModelWith:(NSString *)name photos_count:(NSNumber *)photos_count start_date:(NSString *)start_date days:(NSNumber *)days front_cover_photo_url:(NSURL *)front_cover_photo_url number:(NSNumber *)number
{
    DBModel *model = [[DBModel alloc] init];
    model.name = name;
    model.photos_count = photos_count;
    model.start_date = start_date;
    model.days = days;
    model.front_cover_photo_url = front_cover_photo_url;
    model.number = number;
    return model;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}


@end
